package com.gitee.magic.core.valid.annotation.number;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Double 类型数据范围校验
 * @author zhenyao
 *
 */
@Target({ElementType.FIELD,ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
public @interface DoubleValid {
	double min() default 0D;
	double max() default Double.MAX_VALUE;
	String message() default "";
}
